/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.wpilibj.team1662.subsystems;

import edu.wpi.first.wpilibj.team1662.RobotMap;
import edu.wpi.first.wpilibj.team1662.commands.StartCompressor;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.Compressor;

/**
 *
 * @author Team 1662
 */
public class CompressorSubsystem extends Subsystem {
    private Compressor compressor = new Compressor(RobotMap.compressorReliefValve, RobotMap.compressorRelay);
    
    public void initDefaultCommand(){
        setDefaultCommand(new StartCompressor());
    }    
        
    public void startCompressor(){
        compressor.start();
    }   
     
    public void stopCompresor(){
        compressor.stop();
    }
    
    public void updateStatus(){
        
    }
    
}
